﻿using System;
using System.Collections.Generic;
using System.Text;

namespace datatablegenerator.Entity
{
    public class DatatableDTO
    {
        /// <summary>
        /// 字段名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 字段类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 是否必填
        /// </summary>
        public bool Required { get; set; }
        /// <summary>
        /// 默认值
        /// </summary>
        public string Default{ get; set; }
        /// <summary>
        /// 约束
        /// </summary>
        public string Constraint { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remacks { get; set; }

    }
}
